# Template file for 'doas-sudo-shim'
pkgname=doas-sudo-shim
version=0.1.1
revision=1
hostmakedepends="ruby-asciidoctor"
depends="opendoas"
short_desc="Shim for the sudo command that utilizes doas"
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
license="ISC"
homepage="https://github.com/jirutka/doas-sudo-shim"
distfiles="https://github.com/jirutka/doas-sudo-shim/archive/v${version}/${pkgname}-${version}.tar.gz"
checksum=795762a05ecf016d5dc5f1392b447d324380320bc913826b9ccc10ed0cefe43d

replaces="sudo>=0"

do_install() {
	make DESTDIR=${DESTDIR} install	PREFIX=/usr
}


post_install() {
	vlicense LICENSE
}
